﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.Ph5_2009A.NewShopping.DTO
{
    /// <summary>
    /// 商品详情DTO
    /// </summary>
    public class ProductDetailOutputDto
    {
        public Guid Id { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }

        ///// <summary>
        ///// 规格
        ///// </summary>
        //public string Spec { get; set; }
        //规格-- 这款产品的所有：颜色和尺寸
        public List<string> Colors { get; set; }
        public List<string> Sizes { get; set; }

        //这款产品本身的颜色和尺寸
        public string Color { get; set; }
        public string Size { get; set; }

        /// <summary>
        /// 介绍
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 评论列表
        /// </summary>
        public List<CommentInfoOutputDto> CommentList { get; set; }

        /// <summary>
        /// 图片列表
        /// </summary>
        public List<string> Images { get; set; }
    }
}
